home *** CD-ROM | disk | FTP | other *** search
-
-
-
- QQQQLLLLaaaayyyyoooouuuutttt((((3333qqqqtttt)))) TTTTrrrroooollllllll TTTTeeeecccchhhh AAAASSSS ((((9999 JJJJuuuullllyyyy 1111999999998888)))) QQQQLLLLaaaayyyyoooouuuutttt((((3333qqqqtttt))))
-
-
-
- NNNNAAAAMMMMEEEE
- QLayout - The base class of geometry specifiers
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- #include <qlayout.h>
-
- Inherits QObject.
-
- Inherited by QBoxLayout and QGridLayout.
-
- PPPPuuuubbbblllliiiicccc MMMMeeeemmmmbbbbeeeerrrrssss
- vvvviiiirrrrttttuuuuaaaallll ~~~~QQQQLLLLaaaayyyyoooouuuutttt ()
- iiiinnnntttt ddddeeeeffffaaaauuuullllttttBBBBoooorrrrddddeeeerrrr (((()))) ccccoooonnnnsssstttt
- eeeennnnuuuummmm {{{{ uuuunnnnlllliiiimmmmiiiitttteeeedddd ==== QQQQCCCCOOOOOOOORRRRDDDD____MMMMAAAAXXXX }}}}
- vvvviiiirrrrttttuuuuaaaallll bbbboooooooollll aaaaccccttttiiiivvvvaaaatttteeee (((())))
- vvvvooooiiiidddd ffffrrrreeeeeeeezzzzeeee (((( iiiinnnntttt _w,,,, iiiinnnntttt hhhh ))))
- vvvvooooiiiidddd ffffrrrreeeeeeeezzzzeeee (((())))
- vvvvooooiiiidddd sssseeeettttMMMMeeeennnnuuuuBBBBaaaarrrr (((( QQQQMMMMeeeennnnuuuuBBBBaaaarrrr **** wwww ))))
- QQQQWWWWiiiiddddggggeeeetttt**** mmmmaaaaiiiinnnnWWWWiiiiddddggggeeeetttt (((())))
-
- PPPPrrrrooootttteeeecccctttteeeedddd MMMMeeeemmmmbbbbeeeerrrrssss
- QQQQLLLLaaaayyyyoooouuuutttt (((( QQQQWWWWiiiiddddggggeeeetttt **** _p_a_r_e_n_t,,,, iiiinnnntttt _b_o_r_d_e_r,,,, iiiinnnntttt _a_u_t_o_B_o_r_d_e_r
- QQQQLLLLaaaayyyyoooouuuutttt (((( iiiinnnntttt _a_u_t_o_B_o_r_d_e_r ==== ----1111,,,, ccccoooonnnnsssstttt cccchhhhaaaarrrr **** _n_a_m_e====0000 ))))
- QQQQGGGGMMMMaaaannnnaaaaggggeeeerrrr**** bbbbaaaassssiiiiccccMMMMaaaannnnaaaaggggeeeerrrr (((())))
- vvvviiiirrrrttttuuuuaaaallll QQQQCCCChhhhaaaaiiiinnnn**** mmmmaaaaiiiinnnnVVVVeeeerrrrttttiiiiccccaaaallllCCCChhhhaaaaiiiinnnn (((())))
- vvvviiiirrrrttttuuuuaaaallll QQQQCCCChhhhaaaaiiiinnnn**** mmmmaaaaiiiinnnnHHHHoooorrrriiiizzzzoooonnnnttttaaaallllCCCChhhhaaaaiiiinnnn (((())))
- vvvviiiirrrrttttuuuuaaaallll vvvvooooiiiidddd iiiinnnniiiittttGGGGMMMM (((())))
- vvvvooooiiiidddd aaaaddddddddCCCChhhhiiiillllddddLLLLaaaayyyyoooouuuutttt (((( QQQQLLLLaaaayyyyoooouuuutttt **** ))))
-
- SSSSttttaaaattttiiiicccc PPPPrrrrooootttteeeecccctttteeeedddd MMMMeeeemmmmbbbbeeeerrrrssss
- QQQQCCCChhhhaaaaiiiinnnn**** vvvveeeerrrrCCCChhhhaaaaiiiinnnn (((( QQQQLLLLaaaayyyyoooouuuutttt **** llll ))))
- QQQQCCCChhhhaaaaiiiinnnn**** hhhhoooorrrrCCCChhhhaaaaiiiinnnn (((( QQQQLLLLaaaayyyyoooouuuutttt **** llll ))))
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The QLayout class is the base class of geometry specifiers.
-
- This is an abstract base class. The concrete layout managers
- QBoxLayout and QGridLayout inherit from this one and make
- QLayout's functionality avaialble in friendly APIs.
-
- Most users of Q*Layout are likely to use some of the basic
- functions provided by QLayout, such as
-
- representation and activates the result,
- activate(), which compiles the layout into an internal
-
- the special properties of menu bars, and
- setMenuBar(), which is necessary to manage a menu bar because of
-
- layout.
- freeze(), which allows you to freeze the widget's size and
-
-
-
-
- Page 1 (printed 9/22/98)
-
-
-
-
-
-
- QQQQLLLLaaaayyyyoooouuuutttt((((3333qqqqtttt)))) TTTTrrrroooollllllll TTTTeeeecccchhhh AAAASSSS ((((9999 JJJJuuuullllyyyy 1111999999998888)))) QQQQLLLLaaaayyyyoooouuuutttt((((3333qqqqtttt))))
-
-
-
- Geometry management stops when the layout manager is
- deleted.
-
- To make a new layout manager, you need to implement the
- functions mainVerticalChain(), mainHorizontalChain() and
- initGM().
-
- MMMMEEEEMMMMBBBBEEEERRRR FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN DDDDOOOOCCCCUUUUMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
- QQQQLLLLaaaayyyyoooouuuutttt::::::::QQQQLLLLaaaayyyyoooouuuutttt (((( QQQQWWWWiiiiddddggggeeeetttt **** ppppaaaarrrreeeennnntttt,,,, iiiinnnntttt bbbboooorrrrddddeeeerrrr,,,, iiiinnnntttt aaaauuuuttttooooBBBBoooorrrrddddeeeerrrr,,,,
- ccccoooonnnnsssstttt cccchhhhaaaarrrr **** nnnnaaaammmmeeee )))) [[[[pppprrrrooootttteeeecccctttteeeedddd]]]]
- Creates a new top-level QLayout with main widget _p_a_r_e_n_t.
- _p_a_r_e_n_t may not be 0.
-
- _b_o_r_d_e_r is the number of pixels between the edge of the
- widget and the managed children. _a_u_t_o_B_o_r_d_e_r sets the value
- of defaultBorder(), which is interpreted by subclasses. If
- _a_u_t_o_B_o_r_d_e_r is -1 the value of _b_o_r_d_e_r is used.
-
- _n_a_m_e is the internal object name
-
- Having several top-level layouts for the same widget will
- cause considerable confusion.
-
- QQQQLLLLaaaayyyyoooouuuutttt::::::::QQQQLLLLaaaayyyyoooouuuutttt (((( iiiinnnntttt aaaauuuuttttooooBBBBoooorrrrddddeeeerrrr ==== ----1111,,,, ccccoooonnnnsssstttt cccchhhhaaaarrrr **** nnnnaaaammmmeeee====0000 ))))
- [[[[pppprrrrooootttteeeecccctttteeeedddd]]]]
- Constructs a new child QLayout, If _a_u_t_o_B_o_r_d_e_r is -1, this
- QLayout inherits _p_a_r_e_n_t'_s defaultBorder(), otherwise
- _a_u_t_o_B_o_r_d_e_r is used.
-
- QQQQLLLLaaaayyyyoooouuuutttt::::::::~~~~QQQQLLLLaaaayyyyoooouuuutttt (((()))) [[[[vvvviiiirrrrttttuuuuaaaallll]]]]
- Deletes all children layouts. Geometry management stops when
- a toplevel layout is deleted.
-
- bbbboooooooollll QQQQLLLLaaaayyyyoooouuuutttt::::::::aaaaccccttttiiiivvvvaaaatttteeee (((()))) [[[[vvvviiiirrrrttttuuuuaaaallll]]]]
- Starts geometry management - analogous to show() for
- widgets. This function should only be called for top level
- layouts.
-
- Examples: pref/pref.cpp layout/layout.cpp
- widgets/widgets.cpp
-
- vvvvooooiiiidddd QQQQLLLLaaaayyyyoooouuuutttt::::::::aaaaddddddddCCCChhhhiiiillllddddLLLLaaaayyyyoooouuuutttt (((( QQQQLLLLaaaayyyyoooouuuutttt **** llll )))) [[[[pppprrrrooootttteeeecccctttteeeedddd]]]]
- This function is called from addLayout functions in
- subclasses, to add _l layout as a sublayout.
-
- QQQQGGGGMMMMaaaannnnaaaaggggeeeerrrr **** QQQQLLLLaaaayyyyoooouuuutttt::::::::bbbbaaaassssiiiiccccMMMMaaaannnnaaaaggggeeeerrrr (((()))) [[[[pppprrrrooootttteeeecccctttteeeedddd]]]]
- Returns the QGManager for this layout. Returns 0 if this is
- a child layout which has not been inserted yet.
-
- iiiinnnntttt QQQQLLLLaaaayyyyoooouuuutttt::::::::ddddeeeeffffaaaauuuullllttttBBBBoooorrrrddddeeeerrrr (((()))) ccccoooonnnnsssstttt
- Returns the default border for the geometry manager.
-
-
-
-
- Page 2 (printed 9/22/98)
-
-
-
-
-
-
- QQQQLLLLaaaayyyyoooouuuutttt((((3333qqqqtttt)))) TTTTrrrroooollllllll TTTTeeeecccchhhh AAAASSSS ((((9999 JJJJuuuullllyyyy 1111999999998888)))) QQQQLLLLaaaayyyyoooouuuutttt((((3333qqqqtttt))))
-
-
-
- vvvvooooiiiidddd QQQQLLLLaaaayyyyoooouuuutttt::::::::ffffrrrreeeeeeeezzzzeeee (((( iiiinnnntttt wwww,,,, iiiinnnntttt hhhh ))))
- Fixes the size of the main widget and distributes the
- available space to the child widgets. For widgets which
- should not be resizable, but where a QLayout subclass is
- used to set up the initial geometry.
-
- A frozen layout cannot be unfrozen, the only sensible thing
- to do is to delete it.
-
- The size is adjusted to a valid value. Thus freeze(0,0)
- fixes the widget to its minimum size.
-
- vvvvooooiiiidddd QQQQLLLLaaaayyyyoooouuuutttt::::::::ffffrrrreeeeeeeezzzzeeee (((())))
- This is an overloaded member function, provided for
- convenience. It differs from the above function only in what
- argument(s) it accepts.
-
- This version of the method fixes the main widget at its
- minimum size. You can also achieve this with freeze( 0, 0
- );.
-
- QQQQCCCChhhhaaaaiiiinnnn **** QQQQLLLLaaaayyyyoooouuuutttt::::::::hhhhoooorrrrCCCChhhhaaaaiiiinnnn (((( QQQQLLLLaaaayyyyoooouuuutttt **** )))) [[[[ssssttttaaaattttiiiicccc pppprrrrooootttteeeecccctttteeeedddd]]]]
- This function works around a dubious feature in the C++
- language definition, to provide access to
- mainHorizontalChain().
-
- vvvvooooiiiidddd QQQQLLLLaaaayyyyoooouuuutttt::::::::iiiinnnniiiittttGGGGMMMM (((()))) [[[[vvvviiiirrrrttttuuuuaaaallll pppprrrrooootttteeeecccctttteeeedddd]]]]
- Implement this function to do what's necessary to initialize
- chains, once the layout has a basicManager().
-
- Reimplemented in QGridLayout and QBoxLayout.
-
- QQQQCCCChhhhaaaaiiiinnnn **** QQQQLLLLaaaayyyyoooouuuutttt::::::::mmmmaaaaiiiinnnnHHHHoooorrrriiiizzzzoooonnnnttttaaaallllCCCChhhhaaaaiiiinnnn (((()))) [[[[vvvviiiirrrrttttuuuuaaaallll pppprrrrooootttteeeecccctttteeeedddd]]]]
- Implement this function to return the main horizontal chain.
-
- Reimplemented in QGridLayout and QBoxLayout.
-
- QQQQCCCChhhhaaaaiiiinnnn **** QQQQLLLLaaaayyyyoooouuuutttt::::::::mmmmaaaaiiiinnnnVVVVeeeerrrrttttiiiiccccaaaallllCCCChhhhaaaaiiiinnnn (((()))) [[[[vvvviiiirrrrttttuuuuaaaallll pppprrrrooootttteeeecccctttteeeedddd]]]]
- Implement this function to return the main vertical chain.
-
- Reimplemented in QGridLayout and QBoxLayout.
-
- QQQQWWWWiiiiddddggggeeeetttt **** QQQQLLLLaaaayyyyoooouuuutttt::::::::mmmmaaaaiiiinnnnWWWWiiiiddddggggeeeetttt (((())))
- Returns the main widget of this layout, or 0 if this layout
- is a sub-layout which is not yet inserted.
-
- vvvvooooiiiidddd QQQQLLLLaaaayyyyoooouuuutttt::::::::sssseeeettttMMMMeeeennnnuuuuBBBBaaaarrrr (((( QQQQMMMMeeeennnnuuuuBBBBaaaarrrr **** wwww ))))
- Makes the geometry manager take account of the menu bar _w.
- All child widgets are placed below the bottom edge of the
- menu bar.
-
- A menu bar does its own geometry managing, never do
-
-
-
- Page 3 (printed 9/22/98)
-
-
-
-
-
-
- QQQQLLLLaaaayyyyoooouuuutttt((((3333qqqqtttt)))) TTTTrrrroooollllllll TTTTeeeecccchhhh AAAASSSS ((((9999 JJJJuuuullllyyyy 1111999999998888)))) QQQQLLLLaaaayyyyoooouuuutttt((((3333qqqqtttt))))
-
-
-
- addWidget() on a menu bar.
-
- Examples: widgets/widgets.cpp
-
- QQQQCCCChhhhaaaaiiiinnnn **** QQQQLLLLaaaayyyyoooouuuutttt::::::::vvvveeeerrrrCCCChhhhaaaaiiiinnnn (((( QQQQLLLLaaaayyyyoooouuuutttt **** )))) [[[[ssssttttaaaattttiiiicccc pppprrrrooootttteeeecccctttteeeedddd]]]]
- This function works around a dubious feature in the C++
- language definition, to provide access to
- mainVerticalChain().
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- hhhhttttttttpppp::::////////wwwwwwwwwwww....ttttrrrroooollllllll....nnnnoooo////qqqqtttt////qqqqllllaaaayyyyoooouuuutttt....hhhhttttmmmmllll
-
- CCCCOOOOPPPPYYYYRRRRIIIIGGGGHHHHTTTT
- Copyright 1992-1997 Troll Tech AS. See the LICENSE file
- included in the distribution for a complete license
- statement.
-
- AAAAUUUUTTTTHHHHOOOORRRR
- Generated automatically from the source code.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 4 (printed 9/22/98)
-
-
-
-